package com.lib.common.helper.sharehelper.share

import com.lib.common.helper.sharehelper.AShareListener
import com.lib.common.helper.sharehelper.entity.ShareData
import com.lib.common.helper.sharehelper.entity.ShareType
import com.lib.framework.base.BaseActivity

/**
 * 分享类的接口
 *
 * @author keanbin
 */
interface IShare {

    /**
     * 初始化
     */
    fun init()

    /**
     * 获取分享类型
     */
    fun getShareType(): ShareType

    /**
     * 分享
     */
    fun share(activity: BaseActivity, shareData : ShareData, l : AShareListener): Boolean
}